package com.ytjj.qmyx.admin.service.channelLabel;

import com.ytjj.common.api.CommonPage;
import com.ytjj.qmyx.admin.model.request.channel.ChannelLabelRequest;
import com.ytjj.qmyx.admin.model.request.channel.ChannelProductLabelRequest;
import com.ytjj.qmyx.admin.model.response.channel.ChannelLabelResponse;
import com.ytjj.qmyx.mall.model.Product;

public interface ChannelLabelService {

    CommonPage<ChannelLabelResponse> findList(ChannelLabelRequest channelLabelRequest);

    void save(ChannelLabelRequest request);

    void update(ChannelLabelRequest request);

    void delete(Integer id);

    ChannelLabelResponse findDetail(Integer id);

    void setProductLabel(ChannelProductLabelRequest request);

    void delProductLabel(ChannelProductLabelRequest request);

    void handleChannelLabel(Product product);

    void testAutoLabel(Integer productId);

}
